//
//  Sale.swift
//  test
//
//  Created by george on 12/23/15.
//  Copyright © 2015 test. All rights reserved.
//

import Foundation
import CoreData

@objc(Sale)
class Sale: NSManagedObject {
	@NSManaged var id: Int
	@NSManaged var title: String
	@NSManaged var content: String
	@NSManaged var house: House
	@NSManaged var manager: Manager

	func validateTitle(value: AutoreleasingUnsafeMutablePointer<String>) throws {
		print(value)
	}
}